package com.itheima.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberMapper extends BaseMapper<Member> {

    @Select("select  id,PHONENUMBER  from t_member where PHONENUMBER = #{telephone} ")
    Member findMemeberByTelephone(@Param("telephone") String telephone);
}

